package com.culture.config.dao.entity;

import java.io.Serializable;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class UserAction implements Serializable {		
	private static final long serialVersionUID = -7869826580331710968L;
	Long userId;
	Long roleId;
	Long actionId;
	Integer actionType;
	String actionPath;
	String actionName;
	String actionDescription;
	
	public UserAction(Long userId) {
		this.userId = userId;
	}	
	
	public UserAction(Long userId, Long roleId) {
		this.userId = userId;
		this.roleId = roleId;		
	}
	
	public UserAction(Long userId, Long roleId,Long actionId) {
		this.userId = userId;
		this.roleId = roleId;		
		this.actionId = actionId;
	}
}
